package com.lanxin.mp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lanxin.mp.entity.MpCardtype;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 名片类型表 Mapper 接口
 * </p>
 *
 * @author zyq
 * @since 2025-07-16
 */
public interface MpCardtypeMapper extends BaseMapper<MpCardtype> {

    /**
     * 根据员工ID查询所属名片类型
     */
    List<MpCardtype> getCardtypeById(Integer eid);

    // Mapper接口方法
    //IPage<MpCardtype> selectByPage(Page<MpCardtype> page, @Param("typeName") String typeName);
}